import { axios } from '@/utils/request'

/**
 * 查询卡牌设备
 *
 * @author yangyuanjiang
 * @date 2022-02-21 20:40:42
 */
export function htCardEquipmentPage (parameter) {
  return axios({
    url: '/htCardEquipment/page',
    method: 'get',
    params: parameter
  })
}

/**
 * 卡牌设备列表
 *
 * @author yangyuanjiang
 * @date 2022-02-21 20:40:42
 */
export function htCardEquipmentList (parameter) {
  return axios({
    url: '/htCardEquipment/list',
    method: 'get',
    params: parameter
  })
}

/**
 * 添加卡牌设备
 *
 * @author yangyuanjiang
 * @date 2022-02-21 20:40:42
 */
export function htCardEquipmentAdd (parameter) {
  return axios({
    url: '/htCardEquipment/add',
    method: 'post',
    data: parameter
  })
}

/**
 * 编辑卡牌设备
 *
 * @author yangyuanjiang
 * @date 2022-02-21 20:40:42
 */
export function htCardEquipmentEdit (parameter) {
  return axios({
    url: '/htCardEquipment/edit',
    method: 'post',
    data: parameter
  })
}

/**
 * 删除卡牌设备
 *
 * @author yangyuanjiang
 * @date 2022-02-21 20:40:42
 */
export function htCardEquipmentDelete (parameter) {
  return axios({
    url: '/htCardEquipment/delete',
    method: 'post',
    data: parameter
  })
}

/**
 * 导出卡牌设备
 *
 * @author yangyuanjiang
 * @date 2022-02-21 20:40:42
 */
export function htCardEquipmentExport (parameter) {
  return axios({
    url: '/htCardEquipment/export',
    method: 'get',
    params: parameter,
    responseType: 'blob'
  })
}
